<?php if(count($contents)>0): ?>
    <?php foreach ($contents as $content): ?>
        <li>
            <span class="file">
                <?php echo $content->getTitle() ?>
            </span>
        </li>
    <?php endforeach; ?>
<?php else: ?>
    <li>
        <span class="file">
            <img alt="Sin contenidos" src="/images/util/folderEmpty.png" title="Sin contenidos"/>
        </span>
    </li>
<?php endif; ?>
